package com.klonetech.sfv2.service;

import com.klonetech.sfv2.entity.Module;
import com.klonetech.sfv2.entity.QueryModuleListByRoleInfo;
import com.klonetech.sfv2.entity.QueryRoleListByModuleInfo;
import com.klonetech.sfv2.entity.Role;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import java.util.List;

/**
 * Created by cxdwe on 2017/6/8.
 */
@WebService
public interface RoleModuleQueryService {

    @WebMethod(action = "queryModuleListByRole")
    List<Module> queryModuleListByRole(@WebParam(name = "queryModuleListByRoleInfo") QueryModuleListByRoleInfo queryModuleListByRoleInfo);

    @WebMethod(action = "queryRoleListByModule")
    List<Role> queryRoleListByModule(@WebParam(name = "queryRoleListByModuleInfo") QueryRoleListByModuleInfo queryRoleListByModuleInfo);

}
